package com.engine4cloud.tdf.common.security.handler;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.security.core.Authentication;

/**
 * @author tdf
 * @date 2021/06/22 退出后置处理
 */
public interface AuthenticationLogoutHandler {

    /**
     * 业务处理
     *
     * @param authentication 认证信息
     * @param request        请求信息
     * @param response       响应信息
     */
    void handle(Authentication authentication, HttpServletRequest request, HttpServletResponse response);

}
